package com.coderman.commonreport.core.service;


import com.coderman.commonreport.basic.interfaces.IDAOAdapter;
import com.coderman.commonreport.core.config.ExportBeanConfig;

import java.util.List;


/**
 * @Author fanchunshuai
 * @Date 2019/11/1 17
 * @Description:
 * 封装底层SQL业务查询细节，
 * 将sql查询与业务拼接解耦
 */
public interface IQueryService {

    /**
     * 相当于执行业务的DAO实现层
     * @param idaoAdapter
     * @param exportBean
     * @return
     * @throws Exception
     */
    List exeQuery(IDAOAdapter idaoAdapter, ExportBeanConfig exportBean) throws Exception;

}
